import {request} from "@@/exports";

/**
 * 查询用户列表
 * @param body
 * @param options
 */
export async function queryUserList(body: QueryParamEntity, options?: { [key: string]: any }) {
  return request<ResponseMessage<PagerResult<UserEntity[]>>>('/user/_query', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
